<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<%@ taglib prefix="order" tagdir="/WEB-INF/tags/order"%>

<tr>
	<td style="vertical-align:top;" id="consigneeDiv">
		<%---------------------------------start:收货人信息 -------------------------%>
		<c:choose>
			<c:when test="${isProductRequired}">
				<%@include file="orderAddPanel4ConsigneeNeedProduct.jsp" %>		
			</c:when>
			<c:when test="${isShippingRequired}">
				<%@include file="orderAddPanel4Consignee.jsp" %>		
			</c:when>
			<c:otherwise>
				<%@include file="orderAddPanel4ConsigneeVirtual.jsp" %>
			</c:otherwise>
		</c:choose>
		<%---------------------------------end:  收货人信息 -------------------------%>
	</td>
</tr>
<tr>
	<td style="vertical-align:top;" id="payShipMethodDiv">
		<%---------------------------------start:支付与配送方式 -------------------------%>
		<c:choose>
			<c:when test="${isProductRequired}">
				<%@include file="orderAddPanel4PayAndShipMethodNeedProduct.jsp" %>
			</c:when>
			<c:when test="${isShippingRequired}">
				<%@include file="orderAddPanel4PayAndShipMethod.jsp" %>
			</c:when>
			<c:otherwise>
				<%@include file="orderAddPanel4PayAndVirtualShipMethod.jsp" %>
			</c:otherwise>
		</c:choose>
		<%---------------------------------end:  支付与配送方式 -------------------------%>
	</td>
</tr>

<script type="text/javascript">
$j(document).ready(function () {
	autoApplyValidate($('salesOrderForm'));
});	

</script>